package org.jeecg.modules.purchase.vo;

import java.util.List;
import org.jeecg.modules.purchase.entity.MerchantProvider;
import org.jeecg.modules.purchase.entity.MerchantProviderCertification;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 供应商
 * @Author: jeecg-boot
 * @Date:   2022-12-21
 * @Version: V1.0
 */
@Data
@ApiModel(value="merchant_providerPage对象", description="供应商")
public class MerchantProviderPage {

	/**ID*/
	@ApiModelProperty(value = "ID")
    private String id;
	/**供应商编码*/
	@Excel(name = "供应商编码", width = 15)
	@ApiModelProperty(value = "供应商编码")
    private String code;
	/**供应商全称*/
	@Excel(name = "供应商全称", width = 15)
	@ApiModelProperty(value = "供应商全称")
    private String name;
	/**供应商简称*/
	@Excel(name = "供应商简称", width = 15)
	@ApiModelProperty(value = "供应商简称")
    private String shortName;
	/**签约状态*/
	@Excel(name = "签约状态", width = 15, dicCode = "purchase_provider_status")
    @Dict(dicCode = "purchase_provider_status")
	@ApiModelProperty(value = "签约状态")
    private String providerStatus;
	/**供应商类型*/
	@Excel(name = "供应商类型", width = 15, dicCode = "merchant_provider_type")
    @Dict(dicCode = "merchant_provider_type")
	@ApiModelProperty(value = "供应商类型")
    private String providerType;
	/**合作区域*/
	@Excel(name = "合作区域", width = 15)
	@ApiModelProperty(value = "合作区域")
    private String businessScope;
	/**合同号*/
//	@Excel(name = "合同号", width = 15)
	@ApiModelProperty(value = "合同号")
    private String contractNumber;
	/**合同开始时间*/
	@Excel(name = "合同开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "合同开始时间")
    private Date startTime;
	/**合同结束时间*/
	@Excel(name = "合同结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "合同结束时间")
    private Date endTime;
	/**合同附件*/
//	@Excel(name = "合同附件", width = 15)
	@ApiModelProperty(value = "合同附件")
    private String contractAttachment;
	/**对接人姓名*/
	@Excel(name = "对接人姓名", width = 15)
	@ApiModelProperty(value = "对接人姓名")
    private String legalRepresentative;
	/**对接人电话*/
	@Excel(name = "对接人电话", width = 15)
	@ApiModelProperty(value = "对接人电话")
    private String representativePhone;
	/**政策*/
//	@Excel(name = "政策", width = 15)
	@ApiModelProperty(value = "政策")
    private String policy;
	/**结算方式*/
//	@Excel(name = "结算方式", width = 15)
	@ApiModelProperty(value = "结算方式")
    private String clearingForm;
	/**开户行*/
//	@Excel(name = "开户行", width = 15)
	@ApiModelProperty(value = "开户行")
    private String openingBank;
	/**户名*/
//	@Excel(name = "户名", width = 15)
	@ApiModelProperty(value = "户名")
    private String username;
	/**收款账户*/
//	@Excel(name = "收款账户", width = 15)
	@ApiModelProperty(value = "收款账户")
    private String paymentAccount;
	/**备注*/
//	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;
	/**是否启用*/
//	@Excel(name = "是否启用", width = 15)
	@ApiModelProperty(value = "是否启用")
    private String statusFlag;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**最后修改人*/
	@ApiModelProperty(value = "最后修改人")
    private String updateBy;
	/**最后修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "最后修改时间")
    private Date updateTime;
	/**逻辑删除 */
//	@Excel(name = "逻辑删除 ", width = 15)
	@ApiModelProperty(value = "逻辑删除 ")
    private Integer delFlag;
	/**当前登录用户部门编号*/
	@ApiModelProperty(value = "当前登录用户部门编号")
    private String sysOrgCode;
	/**租户id*/
//	@Excel(name = "租户id", width = 15)
	@ApiModelProperty(value = "租户id")
    private String tenantId;
	
	@ExcelCollection(name="相关资质")
	@ApiModelProperty(value = "相关资质")
	private List<MerchantProviderCertification> merchantProviderCertificationList;
	
}
